Intersoft ClientUI Documentation
GetRegistration<TType>(String) Method



The type to get the registration for.
The name associated with the named registration to get.
Returns a named registration of the specified type.
Syntax
Overloads Function GetRegistration(Of TType As Class)( _
   ByVal name As String _
) As IRegistration
Dim instance As IDependencyRegistrar
Dim name As String
Dim value As IRegistration
 
value = instance.GetRegistration(Of TType)(name)
IRegistration GetRegistration<TType>( 
   string name
)
where TType: class
IRegistration^ GetRegistrationgeneric<typename TType>
( 
   String^ name
) 
where TType: ref class

Parameters

name
The name associated with the named registration to get.

Type Parameters

TType
The type to get the registration for.

Return Value

A registration instance for the specified type. Throws a KeyNoFoundException if the registration cannot be found.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IDependencyRegistrar Interface
IDependencyRegistrar Members
Overload List

Send Feedback